import layout from '@/layout'
import employees from '../../views/employees'
import myimport from '../../views/employees/import/index.vue'
import detail from '../../views/employees/detail/index.vue'
import print from '../../views/employees/print/index.vue'
export default {
  path: '/employees',
  component: layout,
  name: 'layout',
  children: [
    {
      path: '',
      component: employees,
      name: 'employees',
      meta: {
        title: '员工',
        icon: 'people'
      }
    },
    {
      path: 'myimport',
      component: myimport,
      hidden: true,
      meta: {
        title: '导入'
      }
    },
    {
      path: 'detail/:id',
      component: detail,
      hidden: true,
      meta: {
        title: '登录账户设置'
      }
    },
    {
      path: 'print/:id',
      component: print,
      hidden: true,
      meta: {
        title: '登录账户设置'
      }
    }
  ]
}
